<html>
<head><meta charset="utf-8"><title>The Weekly Edition of the Edition Updates, Edition #​11 · edition 2021 · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/index.html">edition 2021</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/The.20Weekly.20Edition.20of.20the.20Edition.20Updates.2C.20Edition.20.23.E2.80.8B11.html">The Weekly Edition of the Edition Updates, Edition #​11</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="241772154"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/The%20Weekly%20Edition%20of%20the%20Edition%20Updates%2C%20Edition%20%23%E2%80%8B11/near/241772154" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/The.20Weekly.20Edition.20of.20the.20Edition.20Updates.2C.20Edition.20.23.E2.80.8B11.html#241772154">(Jun 07 2021 at 12:59)</a>:</h4>
<p>Updates!</p>
<ul>
<li>Prelude changes: New prelude merged. <span aria-label="warning" class="emoji emoji-26a0" role="img" title="warning">:warning:</span>️ Migration lint in progress: <a href="https://github.com/rust-lang/rust/issues/85707">#85707</a></li>
<li>Reserved prefixed literals: <span aria-label="warning" class="emoji emoji-26a0" role="img" title="warning">:warning:</span>️ Still needs implementation. cc <span class="user-mention" data-user-id="116009">@nikomatsakis</span> <span class="user-mention" data-user-id="407862">@lrh2000</span> </li>
<li>IntoIterator for Arrays: Lint updates: <a href="https://github.com/rust-lang/rust/issues/85682">#85682</a>. Other small docs/lint/examples/std changes still open: <a href="https://github.com/rust-lang/rust/issues/84513">#84513</a></li>
<li>Rustfix multiple spans support: Fixed (<a href="https://github.com/rust-lang/rustfix/pull/195">rustfix#195</a>)</li>
<li><code>--force-warn</code>: Merged (<a href="https://github.com/rust-lang/rust/issues/85788">#85788</a>). Still needs to be integrated into <code>cargo fix --edition</code> (<a href="https://github.com/rust-lang/rust/issues/85512">#85512</a>)</li>
<li>Disjoint captures: <span class="user-mention" data-user-id="281950">@Aman Arora</span> <span class="user-mention" data-user-id="116009">@nikomatsakis</span> Is there anything left besides enabling it based on the edition?</li>
</ul>



<a name="241774389"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/The%20Weekly%20Edition%20of%20the%20Edition%20Updates%2C%20Edition%20%23%E2%80%8B11/near/241774389" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/The.20Weekly.20Edition.20of.20the.20Edition.20Updates.2C.20Edition.20.23.E2.80.8B11.html#241774389">(Jun 07 2021 at 13:16)</a>:</h4>
<p>To give an update on the rust-analyzer side of things: We have now implemented most changes upstream has (at least those that require r-a support).</p>
<p>What's still missing is the reserved literal prefixes (since it sounds like this might affect rustc_lexer, we're waiting on that), and the 2021-edition <code>pat</code> macro matcher (I'm holding off on this because the rustc_lexer changes might affect how easy this is on our side).</p>



<a name="241779638"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/The%20Weekly%20Edition%20of%20the%20Edition%20Updates%2C%20Edition%20%23%E2%80%8B11/near/241779638" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/The.20Weekly.20Edition.20of.20the.20Edition.20Updates.2C.20Edition.20.23.E2.80.8B11.html#241779638">(Jun 07 2021 at 13:55)</a>:</h4>
<p>nice!</p>



<a name="241796337"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/The%20Weekly%20Edition%20of%20the%20Edition%20Updates%2C%20Edition%20%23%E2%80%8B11/near/241796337" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/The.20Weekly.20Edition.20of.20the.20Edition.20Updates.2C.20Edition.20.23.E2.80.8B11.html#241796337">(Jun 07 2021 at 15:41)</a>:</h4>
<p><span class="user-mention silent" data-user-id="310399">Mara</span> <a href="#narrow/stream/268952-edition-2021/topic/The.20Weekly.20Edition.20of.20the.20Edition.20Updates.2C.20Edition.20.23.E2.80.8B11/near/241772154">said</a>:</p>
<blockquote>
<ul>
<li>Rustfix multiple spans support: Fixed (<a href="https://github.com/rust-lang/rustfix/pull/195">rustfix#195</a>)</li>
</ul>
</blockquote>
<p>Regarding this, someone will need to make a new release of rustfix and incorporate it into cargo.  Is there a lint that takes advantage of this to test it?</p>



<a name="241799256"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/The%20Weekly%20Edition%20of%20the%20Edition%20Updates%2C%20Edition%20%23%E2%80%8B11/near/241799256" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/The.20Weekly.20Edition.20of.20the.20Edition.20Updates.2C.20Edition.20.23.E2.80.8B11.html#241799256">(Jun 07 2021 at 16:01)</a>:</h4>
<p><span class="user-mention" data-user-id="120518">@Eric Huss</span> the <code>non_fmt_panic</code> lint uses it for <code>panic!(format!("hey"));</code></p>



<a name="241799412"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/The%20Weekly%20Edition%20of%20the%20Edition%20Updates%2C%20Edition%20%23%E2%80%8B11/near/241799412" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/The.20Weekly.20Edition.20of.20the.20Edition.20Updates.2C.20Edition.20.23.E2.80.8B11.html#241799412">(Jun 07 2021 at 16:02)</a>:</h4>
<p>and for <code>panic![123];</code></p>



<a name="241803700"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/The%20Weekly%20Edition%20of%20the%20Edition%20Updates%2C%20Edition%20%23%E2%80%8B11/near/241803700" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/The.20Weekly.20Edition.20of.20the.20Edition.20Updates.2C.20Edition.20.23.E2.80.8B11.html#241803700">(Jun 07 2021 at 16:32)</a>:</h4>
<p>Hm, testing the new rustfix in the rust repo is having an issue. I'll try to investigate it more today.</p>



<a name="241803890"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/The%20Weekly%20Edition%20of%20the%20Edition%20Updates%2C%20Edition%20%23%E2%80%8B11/near/241803890" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/The.20Weekly.20Edition.20of.20the.20Edition.20Updates.2C.20Edition.20.23.E2.80.8B11.html#241803890">(Jun 07 2021 at 16:33)</a>:</h4>
<p>thank you</p>



<a name="242149916"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/The%20Weekly%20Edition%20of%20the%20Edition%20Updates%2C%20Edition%20%23%E2%80%8B11/near/242149916" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/The.20Weekly.20Edition.20of.20the.20Edition.20Updates.2C.20Edition.20.23.E2.80.8B11.html#242149916">(Jun 10 2021 at 01:16)</a>:</h4>
<p>rustfix update is posted at <a href="https://github.com/rust-lang/cargo/pull/9567">https://github.com/rust-lang/cargo/pull/9567</a></p>



<a name="242216627"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/The%20Weekly%20Edition%20of%20the%20Edition%20Updates%2C%20Edition%20%23%E2%80%8B11/near/242216627" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/The.20Weekly.20Edition.20of.20the.20Edition.20Updates.2C.20Edition.20.23.E2.80.8B11.html#242216627">(Jun 10 2021 at 14:35)</a>:</h4>
<p><span class="user-mention" data-user-id="310399">@Mara</span> so I haven't heard from <span class="user-mention" data-user-id="322737">@jam1garner</span> on <a href="https://github.com/rust-lang/rust/issues/85707">#85707</a>, I have a bit of time, I may push commits.</p>



<a name="242218670"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/The%20Weekly%20Edition%20of%20the%20Edition%20Updates%2C%20Edition%20%23%E2%80%8B11/near/242218670" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> jam1garner <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/The.20Weekly.20Edition.20of.20the.20Edition.20Updates.2C.20Edition.20.23.E2.80.8B11.html#242218670">(Jun 10 2021 at 14:46)</a>:</h4>
<p>Sorry about that, been visiting family due to someone being in poor health. Please feel free to push commits and I should have plenty of time to help more Saturday/Sunday while I’m traveling back</p>



<a name="242272496"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/The%20Weekly%20Edition%20of%20the%20Edition%20Updates%2C%20Edition%20%23%E2%80%8B11/near/242272496" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/The.20Weekly.20Edition.20of.20the.20Edition.20Updates.2C.20Edition.20.23.E2.80.8B11.html#242272496">(Jun 10 2021 at 21:16)</a>:</h4>
<p><span class="user-mention" data-user-id="322737">@jam1garner</span> OK, thanks for letting us know. Sorry about the family member in poor health :(</p>



<a name="242516887"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/The%20Weekly%20Edition%20of%20the%20Edition%20Updates%2C%20Edition%20%23%E2%80%8B11/near/242516887" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> jam1garner <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/The.20Weekly.20Edition.20of.20the.20Edition.20Updates.2C.20Edition.20.23.E2.80.8B11.html#242516887">(Jun 13 2021 at 15:38)</a>:</h4>
<p>As promised, getting some more work done on this today, I've looked a bit more into the issues and filled out the parts of the hackmd that still needed investigating. It seems like for the most part a lot of the issues are caused by a false positive on inherent methods. Getting started on some of the implementation of fixes now.</p>



<a name="242516995"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/The%20Weekly%20Edition%20of%20the%20Edition%20Updates%2C%20Edition%20%23%E2%80%8B11/near/242516995" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> jam1garner <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/The.20Weekly.20Edition.20of.20the.20Edition.20Updates.2C.20Edition.20.23.E2.80.8B11.html#242516995">(Jun 13 2021 at 15:41)</a>:</h4>
<p>Also if anyone could point me in who to ask about how to handle "get an in-scope path to X trait", that has continued to be a problem I have not been able to solve by searching the rustc internal rustdocs. Even if its just someone to tell me to give up and use absolute paths (and hopefully point me in the direction of that), that'd work</p>



<a name="242569518"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/The%20Weekly%20Edition%20of%20the%20Edition%20Updates%2C%20Edition%20%23%E2%80%8B11/near/242569518" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/The.20Weekly.20Edition.20of.20the.20Edition.20Updates.2C.20Edition.20.23.E2.80.8B11.html#242569518">(Jun 14 2021 at 09:03)</a>:</h4>
<p><span class="user-mention" data-user-id="322737">@jam1garner</span> i don't know anything about how to get those paths, but getting a first working version merged with absolute paths and improving that afterwards might be good (if that's easier for now)</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>